home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
OS2
/
RB3774.ARJ
/
RECFLDER.MAK
< prev
next >
Wrap
Text File
|
1992-06-28
|
2KB
|
70 lines
#****************************************************************************
# Dot directive definition area (usually just suffixes)
#****************************************************************************
.SUFFIXES: .c .obj .dll .csc .sc .h .ih .ph .psc .rc .res
#****************************************************************************
# Environment Setup for the component(s).
#****************************************************************************
SOMTEMP = .\somtemp
SCPATH = C:\toolkt20\sc
HPATH = C:\toolkt20\c\os2h
LIBPATH = C:\toolkt20\os2lib
!if [set SMINCLUDE=.;$(SCPATH);] || \
[set SMTMP=$(SOMTEMP)] || \
[set SMEMIT=ih;h;ph;psc;sc;c;def]
!endif
!if [cd $(SOMTEMP)]
! if [md $(SOMTEMP)]
! error Error creating $(SOMTEMP) directory
! endif
!else
! if [cd ..]
! error Error could not cd .. from $(SOMTEMP) directory
! endif
!endif
#
# Compiler/tools Macros
#
CC = icc /c /Ge- /Gd- /Se /Re /ss /Ms /Gm+
LINK = link386
LDFLAGS = /noi /map /nol /nod /exepack /packcode /packdata /align:16
LIBS = som.lib os2386.lib dde4sbs.lib dde4nbs.lib
#****************************************************************************
# Set up Macros that will contain all the different dependencies for the
# executables and dlls etc. that are generated.
#****************************************************************************
OBJS = recflder.obj
#****************************************************************************
# Setup the inference rules for compiling source code to
# object code.
#****************************************************************************
.c.obj:
$(CC) -I$(HPATH) -c $<
.csc.c:
sc $<
all: recflder.dll
recflder.obj: $*.c $*.ih $*.h $*.sc
recflder.dll: $(OBJS) recflder.res
$(LINK) $(LDFLAGS) $(OBJS),$@,,$(LIBS),$*;
rc $*.res $*.dll
mapsym recflder.map
recflder.res: recflder.rc
rc -r $*.rc $*.res